package wuke.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;

public class Contact implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String contactId ; 
	private String name;
	private String photoURI;

	private List<String> phoneNumbers = new ArrayList<String>();

	public String getContactId() {
		return contactId;
	}



	public String getName() {
		return name;
	}
	public List<String> getPhoneNumbers() {
		return phoneNumbers;
	}



	public void setContactId(String contactId) {
		this.contactId = contactId;
	}


	public void setName(String name) {
		this.name = name;
	}

	public void setPhoneNumbers(List<String> phoneNumbers) {
		this.phoneNumbers = phoneNumbers;
	}





	public String getPhotoURI() {
		return photoURI;
	}



	public void setPhotoURI(String photoURI) {
		this.photoURI = photoURI;
	}



	@Override
	public String toString() {

		StringBuffer sb = new StringBuffer();
		for (Iterator iterator = phoneNumbers.iterator(); iterator.hasNext();) {
			String phoneNuber = (String) iterator.next();
			sb.append(phoneNuber);

		}
		return "["+name+"]" + "["+sb.toString()+"]"+"["+photoURI+"]";
	}

}
